/*
 * Copyright (c) 2009-2013 EvTech Project
 * All rights reserved.
 * 
 * This file is part of Game packet.
 *
 * Game packet is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 *
 * Game packet is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Game packet.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package fi.honkalampisaatio.game.xml;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(namespace = "fi.honkalampisaatio.usercountsetting")
public class UserCountSetting {

	private ArrayList<NameImageData> usercountList = new ArrayList<NameImageData>();	

	// XmLElementWrapper generates a wrapper element around XML representation
	@XmlElementWrapper(name = "usercountList")
	// XmlElement sets the name of the entities
	@XmlElement(name = "usercount")
	public void setUsercountList(ArrayList<NameImageData> usercountList) {
		this.usercountList = usercountList;
	}
	public ArrayList<NameImageData> getUsercountList() {
		return usercountList;
	}
}
